﻿using SpotsHub.Gateway.Models.Common;
using Nop.Web.Framework;
using System.Collections.Generic;

namespace SpotsHub.Gateway.Models.Customer
{
    // TODO: add validator
    public class LogisticsRegisterModel
    {
        public LogisticsRegisterModel()
        {
            BillingAddress = new AddressModel();
            RegisterModel = new RegisterModel();
            MembershipOptions = new List<MembershipTypeModel>();
        }

        [NopResourceDisplayName("Logistics.Register.AcceptCondition")]
        public bool Accepted { get; set; }

        //[NopResourceDisplayName("Logistics.Common.IsBillingAddressSame")]
        //public bool IsBillingAddressSame { get; set; }

        [NopResourceDisplayName("Logistics.Common.MembershipOptions")]
        public List<MembershipTypeModel> MembershipOptions { get; set; }
        public int? SelectedProductVariantId { get; set; }

        public AddressModel BillingAddress { get; set; }
        public RegisterModel RegisterModel { get; set; }
    }
}